package com.tj.controller;


import com.tj.common.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.Map;

@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping
    private Result<String> test(HttpSession httpSession, HttpServletRequest httpServletRequest) {
        return Result.success("test");
    }
}
